#include <stdio.h>

int merge(int n, int m);

int main(void)
{
    int n, m;
    printf("请输入两个两位数：\n");
    scanf("%d%d", &n, &m);

    printf("合并后的结果是：%d\n", merge(n, m));
    return 0;
}


int merge(int n, int m)
{
    return (m % 10) * 1000 + (n / 10 * 100) + (m / 10 * 10) + n % 10;
}



